﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace INSTA.Concepts.StrategyPattern
{
    class Program
    {
        static void Main(string[] args)
        {

            // Test de la class StandardPlayerStrategy
            //Test_StandardStrategy();

            // // Test de la class DebugPlayerStrategy
            Test_DebugStrategy();

        }

        private static void Test_StandardStrategy()
        {
            var player = new Player();

            var attackStrategy = new StandardPlayerStrategy();

            player.RunStrategy(attackStrategy);
        }

        private static void Test_DebugStrategy()
        {
            var player = new Player() {AttackPoints = 100, LifePoints = 500};

            var strategy = new DebugPlayerStrategy();

            player.RunStrategy(strategy); 
        }
    }
}
